package bearworker.zxl.service;

import bearworker.zxl.entity.ManagerMenu;
import bearworker.zxl.entity.extra.UserMenuEntity;

import java.util.List;
import java.util.Map;

/**
 * Created by 逍遥的熊 on 2017/11/29.
 */
public interface SystemService {
    Map<String, Object> addMenu(Map<String,String> params);

    Map<String, Object> addEntity(Map<String,String> params);

    Map<String, Object> getMenus(Map<String, String> params);

    List<UserMenuEntity> getUserPriv(Map<String,Object> paramMap);

    Map<String,Object> getAllMenus(Map<String, String> params);

    Map<String,Object> delMenus(Map<String, String> params);

    List<ManagerMenu> getAll();

    Map<String,Object> getMenu(Map<String, String> params);

    Map<String,Object> updMenu(Map<String, String> params);

    Map<String,Object> getAllPrivi(Map<String, String> params);

    Map<String,Object> getPriviDetail(Map<String, String> params);

    Map<String,Object> getPmenus(Map<String, String> params);

    Map<String,Object> insPrivi(Map<String, String> params);

    Map<String,Object> updPrivi(Map<String, String> params);

    Map<String,Object> delPrivi(Map<String, String> params);

    Map<String,Object> getAllRole(Map<String, String> params);
}
